#include"myQueque.h"
myQueue::myQueue(int size) {
	queue = vector<int>(size, 0);
	front = 0;
	rear = 0;
}
void myQueue::push(int val) {
	queue[rear++] = val;
}
void myQueue::myQueue::pop() {
	queue[front++];
}

int myQueue::getFront() {
	return queue[front];
}
int myQueue::getRear() {
	return queue[rear - 1];
}